added a few more operations to arrays