More work on vector implementation