added more lines to equalsString