Resolution of a module