Implemented task #2
Implemented task #6