Phew Finally talking to the db