Change variable ‘tsp’ to ‘pm'
Remove test data from function body
Perform check on whether any cols were made explicit