write UseCase