fixed the static factory pattern