array methods added
Tiny optimize