Have created the database and fetch data from databade instead of hard coded.