get_value routine implemented