pulled data out into seperate function for ease of manipulation
Merge branch 'master' of github.com:ilw-sdh/ilw2014-app