added reduce
added array like object
array method on string