moved parameters to config