added framerate counter