added factory

fuck im tired