First working version of conditional usage