tested baseband mode, seems to work
added necessary imports
fixed a few typos