Final commit for review

Added function content and descriptions