All logic except parser done.