Made factory static