More implementation of DBcontroller