removing redundant methods from array module