added Pattern model and specs