moved array and added summary