valhooks of inputs