extracted slugging to module