added ex17, will fix it tomorrow