working on pipeling and mass insertation