use string based comparison == instead of integer comparison