cover test cases 1, 2, 5
Merge