construct vector