Replacing Apache Commons for custom implementation for LLR