this is not using self in any way, move it to the top of a file and make it a standalone method.