documentation about factories