chain Array.prototype functions