added main1.cpp