Implemented multi level search