add val to hal