Updated Pattern code