Creating an input view