added youtube functions to the model