added ex1, ex4 from sh5