Partial code to share with Matt for paired programming