do we need this one? it seems to be just an alias of getBinary