undid error checking for error checking purposes