added some more prints for clarity and formatting