adding \r\n to bytes needed