Usage of emptyList() method