Added debug snippet