rir generator
added stuff