more work on vector tutorial