split up lungo from app logic