#2: manage json