added a loaddata method that handles the binary - bulk data