adding frames per second example