oops, apparently error checking is a thing