Orgranize primitives
Start writing branching analysis