using promises to load data
0.3.0