Comment everything to determine what actually happens when submit is pressed and what code is needed