with this change you can inherit the pattern layout