add ace editor and need to be debugged for some kind of errors