added restitution as parameter to object placement