added default state for rx
Added in some start up stuff