changed static and prototype orders