behavior implementation in editor