initial support for factories