Got rid of error checking code, it doesn't work