kind of got some initial stuff working for the database