These codes are partial of my app.