add variable with anonimous fuction