improve value interface (#126)