ry function is ava