added n dimensional vector