implements `$invade` method