addded comments to the MainActivity