I thought I'd group the errono handlign statements there and add my condition afterwards, but I can revert that part.