if statement is working, added more info to summary output