ok works for bouncing problem