better using .equal() for string comparison