Function make form