Main function

insert main function