Condensed code in while loop for follower