removing unused message variable