Use equals to compare strings instead of ==