Fixing sub2 to use sub instead