optimized startup functions