added patter module