Implemented Lab4