pattern -> skeleton