toasted select function working