Added stopping and choosing amount of passes