edit to single array