rename 'wedding' obj to 'detail'