Perhaps this should be named `process_tan` or `do_tan`?