added ex 4, sh 4, some additions