before submit2