Added getSlicesForText call