updated pramater name to be consition