implemented vma tracking and implementing pma tracking