adding 'phase' logic (for menu features)