started implementing compiler in full version