Mac validation added.