No longer popping an empty array