megadect