vector notation and minor chages