added sin and separated operator and operand handlers