created functions ws

Umm… twenty commits………. That’s 10 a problem…. a little unnecessary when
there are only a couple lines of code.