working on conditional statement

added a conditional statement and trying to print message locals to it