Codeto pull data from the database #40