optimization - compare pointers, instead of strings