repeat frames seems to be working