add 4 cases for ex3