refactored fps vars to value