attempt at ray picking sort of works but not in all y directions