improvements 

added offset var - to process less requests, updated logic of localizing data