what are the functions of television