whoops left some debug printlns in there