adding histman (with jacky), version tested into apam