add helper for txt input