before first code submit