added very bad code to reset database