added duration method

Push it, squirrel.