submit looping