added a sample object passing