changes to main activity