WIP reading from the db but exceptions being thrown