added sprint 3 function skeletons