main function for presentation