started with the IF statement but hit the wall with interspersed white spaces