Rename getDataB function