Added papi_tab #25. Created a new internal function that both tab and box uses