Attempts to make DB work