added submit function & list view