still refactoring on parameter loader