working on code mirror, not working yet.