Added a clear function for multiple submissions