Implemented operations 3-5