constructor debugging