updated info

rewrote error message and fixed some writing errors