Extracted a method in Discounter