cleaned up min form