adding register vm method
foo