replaced 'subs' with 'disabled' function