adding in debug statements to util