Assign frequencies