initializing submit