main1 with print function

m