this should not be done here has nothing to do with the purpose of the function