whoops, left some debug code in