move method
annotate paths with flag type
wip