Made it so the code can be minimized and added designs to the tabs