improving quality param and prints