added debug test