added methods to array