contractor claim pdf refactoring