affect() method