add quick code and test code