issue #8: re-implement format for alter table