working with 4 frequencies