couple of functions getting data from stubbed out data