changed to use beta positions