Use local variables in order to leave the environment untouched