trying to get bouncing to work