made changes to reflect options in frontend show/hide