add temp variables dict
add character events