Abstract pattern for your design n2