this the the temptory db functions, i will study the django princple, and write the interfaces later