Adding pull functionality