removing deprecated constant usage
removing debugging printout