first stab at implementing the disabled attribute