adding todo about checking db access early