added vector lib