array_improved helper implemented