Initial Update

Created routine that matches the outlined requirements.