added offset parameter to getFeed() method