added frequency outut to json