moved prototype to _prototype