does it have to be a function that returns a DataGridViewTextBoxColumn? can't it be a sub where you pass the DataGridViewColumn as a parameter?