removed old database stuff