homework 1.2

only valid json