add framerate counter