value analysis functions