Implemented all operations