passing an object using a seque