added slasher middleware