reformatted for pep compliance