automated it to run based on 100