Added pattern service