and one more issue. You use LanItems and do not import it before. ( all imports are in main )