added fps support