format bytes function added