Nsym should be int
Add simple carrier detection