Fixed the issue of more litterate name for the function that determines pass or fail