add ex30, elif statements