working vector implementation
working vector implementation