Code related to first use case