use nifty-primitives.h