the first function

main function