Change to use rbind and cbind