first implementation of FPS manager