0.8 working well but need error trapping