udated to json ready for test