added ex code and data