write table view spec