proj1 app code