named vectors almost working