framework repeat working