More error checking is always better