write empty factories