simplifying, deriv to gui, added operators