fixed tb so it allows the output to work correctly
Remove commented out code to clean up files