added a potential lib for patches