started to move params out of hsapi