temp css and database hooks