Added function for submit section - v3.1