adding vm for emcs