cleaned up the arrays package