adding the direct message stuff with exception class