minor refactoring
started cushion calculation