Minimalist error checking