Modify Less2: implemented all operations.