Completed SUBS solution.