add fps calculation