main function started