trying to make the library more forgiving