Switch from multiple eq() to slice()