adding better erorr gem