Added console debug