paul changes to code