replace Close with Tuple, add histogram