ex14 functions