initial work on generic valids editor