Frame limiting added