fixed length message ugly prototype