vector form working