error messages and retry implemented