put some database stuff