div refactor
refactored exp, old version was nicer