more praccy database stuff