add VM and RM