use unique cols in the db
Optimize db usage