adds code formatting to prototype