not using array_push