test_current isn't used in the function, maybe isn't needed and can be deleted