you're right, will update. Several other functions in this file should use decorators as well.