import simple lottery app code