modified input form to be interactive