I'm not sure it's better here to use try/catch rather than checking the return value,