Adding pull structure
Bugfix