Implemented lab1