working on usecase1