STORE MAC ADDRESS FUNCTION