first crack at second branch exercise