assign expressions to vector