added fps variable