Moved debugging before googling