get hexvalues function added