db-config handles done correctly and callback