Adding in a conditional register when example. fixes #5