Creating a Virtual Device