added custody selector