adding some youtube logic