Added debug mode and its beautiful