updating to account for disabled inputs