added framerate clock