Testing: console stuff for error checking