add color, cookie.flags and highligh-word ; work in progress