a vector has direction and magnitude