added noinput flag