[min] updated with environment pattern