adding c.hinput function to combine hinput objects