Freeze working with its test case. Can be improved.