added a howLong function