simplify for testing