trace logic
trace logic, working on ram mem dump