added syntax + switch to inverse frequency
normalize freq