handling basic assignments and expressions