now handling nil put results