deleted some unnecessary print and comment the text