refactor pulling to not do unnecesarry stuff
sanity check