add existence testing to if/else