if/else statement in layout -- currently commented out