#fps logic