updated other functions for new transmit structure, also removed some hardcoded values