added format_bytes function