trying to understand lanterna