trying to fix function-not-being-recognized issue