presets working, added code mirror thought about to remove