pattern improved