trashed hier and added frequency recording