removed private generator function pointers, allows compiler to inline