implemented frameCount