added to_s statement to get proper comparison between string and symbol