Pushing up implementation of clear and submit