factor out test befores
question for Renée