fps can now be dynamically changed