ex21 pertains to writing functions that can return something