Ian Macdonald thanks the electorate