Redo without array_push