optimized init