Don't search the stringmap twice. Use data(p) to access data