add function to activate printFPS