changed the conditional statement and string indentation