added mode search