initial commit

main function defined