refactored simple heft