Forgot to close factory