added the adapter factories in a defined way