paterns