test
Changind Db and UI to handle 3 states