add method fps, time interval