changed messageTriager function to fit also for fm