added calculateHandLen fn