move to external library for params