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.