added editor controller