father() function added