added generic input ui class