add conditional input