support collection in get method