simplification of test