code for the presentation