Updating code.
Separate Logic from UI