better value implementation