creating main function