refactored message views