modified second activity