adjusted how parameters are loaded