added documentation for main activity methods