tinkering with accessing internal database