added factory documentation