add debug macro/func to make debugging funner