added loop in Main