trying a different approach to set enabled