Added code to pull

Added some code for later use into pull.