Adding method factory for multiple configurations

Multiple configurations