working on reduce factor