Add end to bottom of is statement block