backend correntions and search basic implementation