set has_next to true as default