With bit

Maybe ok... to be vertified
A bug in mem & add global defines
include bug