added code editor- thanks to donald leung