adapt styles