Learned array method
added array method