TDD class functions