adjustParam functions - to work with arrays