marker handling and message sending