remove cached to make patmat trackable
add patmat
remove cached to make patmat trackable
add patmat code