Made it only run so many times