testing draw each frame functionality