second commit

working multiple objects and object input