First half of submitting for section 4: client side.