added typed value.h