add timer for fps