Init code optimized