Assigned 1st instnce to main function