some edits in main activity