Writing for television