added test, removed debug out