compiles with the np_initialize function