refactor 3
extract methods
getblob