pkg refinements