fixed to use rbind