added formula for 1-sex