functions for virtual media management added