lets just have the function in the file. also i dont think this goes in the `tabs` folder