alignment formatting, getMACaddress function