full version of the code to present