worked on bundle processor, code needs major refactoring