enables to control frame rate