Changed columnApply, so that it doesn't cbind to origional code