improvement dont ignore errors, handle them