first attempt at operator parsing