works, but some tests fail