Added print statement to make sure it is doing what is expected