pat 1014 refact