added mac flag