handle single object results