#some early optimizations