managed to get multiple object generating