modified days array into array with parameters and use a helper method to call this array