used new methods to reformat add ui
cleaned up last commit