Adds comments and removes unnecessary data