ch4 -- wrote the basic calc