Wrapping conditional work