getting stuff into the database