Added streq operator to avoid casting to int