matrix a bad idea, use named vector to keep the same as before