Functions WS 13 - added function