reordered fn defs
started tcas profile unit tests