Factory wont compile blah