created add feature toggle functionality