Object as argument program