A composition comprising polymer PX, wherein polymer PX comprises a moiety of formula selected from the group consisting of: Formula 1, Formula 2 and a combination of Formula 1 and Formula 2:wherein Rx comprises a group according to Formula 3:wherein Ry and Rz are, independently, any suitable atom or moiety and Ri is an electron-withdrawing functional group and wherein polymer PX comprises at least one direct crosslink, wherein the direct crosslink is a direct covalent bond between the Cα of the polymer PX and a second Cα of a polymer PX, and wherein said direct crosslink comprises no intermediary atom. Also inter alia a cosmetic composition, a hairstyling composition, a method of styling hair, the use of the composition, a kit and a process for crosslinking.