implementation of correct frequencies