code for final presentation