added line to recall function after 50 repetitions