updated brendan's module