updated printing and conditions