adding to pull, some minor improvements