reformat module style (no more extra closure)