version 2 for editor