Initial values borrow from @revolutionwifi