traphandler
add comments, macros