These codes are a partial of my app.