added a fallback for the case there is no data