updated
added sizeof_fmt

from stackoverflow