adding db stuff