check for errors properly
moving toward multiple VM support