added process method and removed other methods from data store writer