Program working fine, unnecessary comments removed