Implemented task two