Make it more dynamical
First db calls