Changed message variable to M.