added a fixed gen stub