oops (removed typedef for tw_log, see previous commit)