changed kendalls to use long