dead code
Add tests