Add frequency in properly, also in UI