added igen mode