Add in some debugging