refactoring, fixed arrays in get parameter