list operation pass by value for object