Also a test case would be nice to have