How to perform use case analysis