first cut at making branches exercise