wip
added debugPrint method for tests