from morse now works better, but still error in seach function.