added frequence dependent resolution