Working version of use-case1