Added function to control the first sweeper