Should guess values pretty good.

Database things are missing. Rest is ok.