Changed spec to reflect given data structure