still double search bar but cleaned up code.