Code re-factoring 1.0