too tired to write better tests, but it DOES work