removing prints and extending range of process ids.