added some functionality to the VGA driver