now accepting multiple objects but need to fix the translate, rotate and scale things