refractoring, added skeleton for relatedness method