code to presentation