update to new vector syntax