Added and altered some debug code