changed attr stuff