code for presentation