fixed medicaiton experience problems using a hash and unique each do loop