phases of compiler are implemented partially.