translated and removed unneccesarry comments