added main loop and bouncing circle