member s code calculate