replace stuff by new variable