Added coregen