added to json output method