richard's fps code