index & dosubmit