work on making rs not a hard requirement. #46
some style fixes