Added the code for the tabs, updating main act