removed unused array argument