and this can be removed once SGVector is used