remove debug, will add back later after refactor