Trying how to make DB table work