Avoid creating a new array for each method calling - thanks to @netanelgilad