use substring here