still working on the database connection stuff i think