changed bot's toSet to toList