testing new methods for array