An approach to reusable stack modules