compilable version of SUBS