improving main a bit