add api. "still need to fix datablock generic thing"