Task02: implement some notes
Task01: fix issues with exit from function
Merge pull request #8 from home-api/master

fix exit from fucation