modified to track base changes to vec