made changes to Operations.java