v2 -dynamic size allocation for full command