Adding lots of input box logic.