showing data on screen

fixed the bugs that were preventing me from data being returned.