updated subs code