added a view for input-types