what code would I write to do that?