#1 better decoding of db value