ups thanks. also had to update the error handling below a bit, was still a mess. now it should be more precise, and robust