a simple framework on node (for self)