Started adding a debug log