pat 1012 refact