moving initialParams into adaptor