added the input componnt