Implemented KSearch