added extra mehotd for array