Added create new variables functionality