database setup works fine now