Removed redundant case statement and changed abbreviated "op" to "operator".