main activity modify