updated libraries
updated libraries, renamed Chance to PHandler