array extensions solved