reduce reduce removed
removing printfs
merge with changing grammar