trying to come up with reg design