Functions WS 17 - added comments