pass in object dict