Updated Crossplattform with a messageType