remove debug print
top level functions
cosme
generate -spec attributes