use lastObject from fetch result