removes unnecessary print