added a storeData method for the binary data