Added timer
Added mem
Branching