get/set to MAC_sample variables + throw exception for invalid MAC +
handle exception