Implemented extra task#3