created getcousins fn