some modifications
finish node prior generator