finished code structure of youtube search