adding frequency limit